package test;

public class ConcreteFlyweight implements Flyweight{
    private  Character intrinsic = null;

    public ConcreteFlyweight(Character state) {
        this.intrinsic = state;
    }

    @Override
    public void operation(String state) {
        System.out.println("用户："+this.intrinsic);
        System.out.println("阅读红楼梦到"+state);
    }
}
